package com.example.yoho.di.moudles;

import com.example.yoho.mvp.contract.CommunityContract;
import com.example.yoho.mvp.model.CommunityModel;

import dagger.Module;
import dagger.Provides;

@Module
public class CommunityModules {
    private CommunityContract.View view;

    public CommunityModules(CommunityContract.View view) {
        this.view = view;
    }

    @Provides
    public CommunityContract.View communityView(){
        return view;
    }
    @Provides
    public CommunityContract.Model communityModel(CommunityModel model){
        return model;
    }
}
